package com.hrt.datasender.datadao.model;

import com.btcode.db.fieldtype.FieldType;
import com.btcode.orm.model.BaseModel;
import com.btcode.orm.model.Field;
import com.btcode.orm.model.IField;

public class BcParamMap212Model extends BaseModel {

    private static final long serialVersionUID = 1L;

    public static String tableName = "BC_PARAM_MAP_212";

    public static IField id = new Field(BcParamMap212Model.class, "ID", FieldType.String, true);

    public static IField paramCodeBus = new Field(BcParamMap212Model.class, "PARAM_CODE_BUS", FieldType.String, false);

    public static IField paramCodePro = new Field(BcParamMap212Model.class, "PARAM_CODE_PRO", FieldType.String, false);

    public static IField transportProtocolId = new Field(BcParamMap212Model.class, "TRANSPORT_PROTOCOL_ID", FieldType.String, false);

    public static IField transportProtocolName = new Field(BcParamMap212Model.class, "TRANSPORT_PROTOCOL_NAME", FieldType.String, false);

    public void setId(String value) {
        setFieldValue(id.getFieldName(), value);
    }

    public String getId() {
        Object value = getFieldValue(BcParamMap212Model.id.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setParamCodeBus(String value) {
        setFieldValue(paramCodeBus.getFieldName(), value);
    }

    public String getParamCodeBus() {
        Object value = getFieldValue(BcParamMap212Model.paramCodeBus.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setParamCodePro(String value) {
        setFieldValue(paramCodePro.getFieldName(), value);
    }

    public String getParamCodePro() {
        Object value = getFieldValue(BcParamMap212Model.paramCodePro.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setTransportProtocolId(String value) {
        setFieldValue(transportProtocolId.getFieldName(), value);
    }

    public String getTransportProtocolId() {
        Object value = getFieldValue(BcParamMap212Model.transportProtocolId.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setTransportProtocolName(String value) {
        setFieldValue(transportProtocolName.getFieldName(), value);
    }

    public String getTransportProtocolName() {
        Object value = getFieldValue(BcParamMap212Model.transportProtocolName.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public String getTableName() {
        return tableName;
    }

    public boolean isNeedCache() {
        return false;
    }

}